[Javascript] Split string by HTML entities?
Posted
by user366124
on Stack Overflow
See other posts from Stack Overflow
or by user366124
Published on 2010-06-14T08:20:44Z
Indexed on
2010/06/14
8:22 UTC
Read the original article
Hit count: 167
Hello,
My string contain a lot of HTML entities, like this
"Hello <everybody>" there
And I want to split it by HTML entities into this :
Hello
everybody
there
Can anybody suggest me a way to do this please? May be using Regex? Thanks so much.
© Stack Overflow or respective owner